package cn.itcast.bos.service.take_delivery;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;

import cn.itcast.bos.domain.take_delivery.Order;

public interface OrderService {

//	@Path("/order/{order}")
//	@POST
//	@Consumes({"application/xml", "application/json"})
//	public void addOrder1(@PathParam("order") Order order);
	
	
	@Path("/order")
	@POST
	@Consumes({"application/xml", "application/json"})
	public void addOrder(Order order);
	
	
	
}
